//生成文本域
function createText(text,size=30,color=0x000000,textAlign="center",verticalAlign="middle"){
    let myText = new egret.TextField();
    myText.text = text;
    myText.size = size;
    myText.textColor = color;
    myText.textAlign = egret.HorizontalAlign.CENTER;
    myText.verticalAlign = egret.VerticalAlign.MIDDLE;
    return myText;
}